package org.hxyjs.dao;

import org.hxyjs.entity.Orderformitem;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface OrderFormItemDao{
    public List<Orderformitem>  getAllOrderformitems()  throws Exception;
    public List<Orderformitem> getOrderformitemByPage(PageInfo pageInfo);
    public Orderformitem getOrderformitemByUrno(String oino) throws Exception;
    //增删改的返回值都是整数
    Integer deleteOrderformitemByUrno(String oino)  throws Exception;
    Integer updateOrderformitemByUrno(Orderformitem orderformitemt)  throws Exception;
    Integer addOrderformitem(Orderformitem orderformitem)  throws Exception;

    Integer addOrderformitems(List<Orderformitem> orderformitems)  throws Exception;

//    Orderformitem getOrderformitemByUrno(String oino) throws Exception;
}